<?php
//申明全局变量-设置选项
global $uctheme_option;

//定义主内容宽度
if ( ! isset( $content_width ) )
	$content_width = 680;

/*******定义路径常量**********/
define('TEMINCLUDE', get_template_directory() . '/include/');
define('WIDGETPATH', get_template_directory() . '/widgets/');
define('OPTIONPATH', get_template_directory() .'/options/');
define('THEMEUSER', get_template_directory() .'/user/');

/*****************定义url常量*******************/
define('THEME_URI', get_template_directory_uri() . '/');
define('TEMINCLUDE_URI', get_template_directory_uri() . '/include/');
define('OPTIONS_URI', 	get_template_directory_uri() . '/options/'); 
define('TEMJS_URI', THEME_URI .'js/');

/***************加载文件*****************/
include_once(TEMINCLUDE .'metaboxclass.php');
include_once(TEMINCLUDE .'metabox.php');
include_once(TEMINCLUDE .'function.php');
include_once(TEMINCLUDE .'class-taxonomy-feild.php');
include_once(TEMINCLUDE .'simple-term-meta.php');
include_once(TEMINCLUDE .'common.php');
include_once(TEMINCLUDE .'post_type.php');
include_once(TEMINCLUDE .'ajax.php');
include_once(TEMINCLUDE .'breadcrumbs.php');
include_once(TEMINCLUDE .'custom-register.php');
include_once(TEMINCLUDE .'vote.php');
include_once(TEMINCLUDE .'sql_create.php');
include_once(TEMINCLUDE .'jifen.php');
include_once(TEMINCLUDE .'user_center.php');


include_once(OPTIONPATH .'optionclass.php');
include_once(OPTIONPATH .'general.php');
//include_once(OPTIONPATH .'options.php');
include_once(OPTIONPATH .'ad.php');
include_once(OPTIONPATH .'slide.php');

include_once(OPTIONPATH .'malltype.php');
include_once(WIDGETPATH .'twoads.php');
include_once(WIDGETPATH .'ninesquare.php');
include_once(WIDGETPATH .'hotpost.php');
include_once(THEMEUSER .'user-avatar.php');
?>